namespace FutureApp.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Media1 : DbMigration
    {
        public override void Up()
        {
            AlterColumn("dbo.FutureFiles", "Name", c => c.String(nullable: false, maxLength: 50));
            AlterColumn("dbo.FutureFiles", "FormerName", c => c.String(nullable: false, maxLength: 50));
            AlterColumn("dbo.FutureFiles", "Mime", c => c.String(maxLength: 20));
            AlterColumn("dbo.FuturePictures", "Mime", c => c.String(maxLength: 20));
            AlterColumn("dbo.FutureVideos", "Mime", c => c.String(maxLength: 20));
            AlterColumn("dbo.FutureVoices", "Mime", c => c.String(maxLength: 20));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.FutureVoices", "Mime", c => c.String(maxLength: 6));
            AlterColumn("dbo.FutureVideos", "Mime", c => c.String(maxLength: 6));
            AlterColumn("dbo.FuturePictures", "Mime", c => c.String(maxLength: 6));
            AlterColumn("dbo.FutureFiles", "Mime", c => c.String(maxLength: 6));
            AlterColumn("dbo.FutureFiles", "FormerName", c => c.String(nullable: false, maxLength: 6));
            AlterColumn("dbo.FutureFiles", "Name", c => c.String(nullable: false, maxLength: 6));
        }
    }
}
